<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<title>权限(功能)</title>
<link rel="stylesheet" type="text/css" href="../css/simple.css" charset="utf-8" />
<script src="../scripts/validator.js" charset="utf-8"></script>
<script src="../scripts/util.js" charset="utf-8"></script>
<script src="../scripts/FormUtil.js" charset="utf-8"></script>
<script src="Authority.js" charset="utf-8"></script>
</head>

<body>
<h3>权限(功能)</h3>
<div align="center">
	<form id="searchForm">
		<input id="keyword" name="keyword" />
		&nbsp;&nbsp;<a onclick="searchKeyword()">搜索</a>
	</form>
</div>
<div style="margin-top:20px">
	<a id="AuthorityAddBtn" class="fl">添加</a>
	<a id="AuthorityDelBtn" class="fr">删除选中</a>
</div>
<table id="AuthorityTable" border="1">
  <tr>
  <th><input type="checkbox" id="checkboxAll" /></th>
  
	<th>编号</th>
	<th>权限名称</th>
	<th>显示名称</th>
	<th>权限类型</th>


	<th>资源</th>

	<th>&nbsp;</th>
	<th>&nbsp;</th>
  </tr>


  <tr id="row_template">
	<td><input type="checkbox" name="checkbox" value="" /></td>
	<td>id</td>
	<td>name</td>
	<td>displayName</td>
	<td>type</td>

	<td><a class="setup">设置</a></td>

	<td><a class="edit">编辑</a></td>
	<td><a class="del">删除</a></td>
  </tr>

</table>

<br/>

<table border="1">
  <tr>
    <td id="page">

    </td>
  </tr>
</table>

<div id="AuthorityEditPanel" style="display:none">
  <form id="AuthorityEditForm" name="AuthorityEditForm">
    <table border="1">
    <tr>
        <td class="tac">编号</td>
        <td><input type="hidden" name="id" value="$!authority.id" /></td>
        <td>&nbsp;</td>
      </tr>
	      <tr>
        <td class="tac">权限名称</td>
        <td><input type="text" name="name" value="" maxlength="50" /></td>
        <td>&nbsp;</td>
      </tr>
	      <tr>
        <td class="tac">显示名称</td>
        <td><input type="text" name="displayName" value="" maxlength="255" /></td>
        <td>&nbsp;</td>
      </tr>
	      <tr>
        <td class="tac">权限类型</td>
        <td><input type="text" name="type" value="" maxlength="10" /></td>
        <td>&nbsp;</td>
      </tr>
	      <tr>
        <td>&nbsp;</td>
        <td>
			<input id="AuthoritySaveBtn" type="button" value="提交" />
			</td>
        <td>&nbsp;</td>
      </tr>
    </table>
  </form>
</div>

<div id="ResourceSetupPanel" style="display:none;height:auto">
	<div>
	  <form id="ResourceSetupForm" name="ResourceSetupForm">
		<input id="authorityId" type="hidden" value="" name="authorityId" />
	  </form>
  </div>
  <div class="cb"></div>
  <div class="fr">
  	<input id="resourceSetupSaveBtn" class="fl" type="button" value="提交" />
  </div>
</div>

</body>
</html>
